{template aljbd:index_header}
{if $settings['templatepx']['value']}
	{template aljbd:footercss}
{/if}
<script src="https://api.map.baidu.com/api?v=2.0&ak=Mz8y6VOGZv8AbIfQas83nf1B&s=1" type="text/javascript" charset="utf-8"></script>
<script src="source/plugin/aljbd/js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
var jq=jQuery.noConflict();
</script>
<div class="wp">
<div class="bm cl" id="pt">
<div class="z">
<a title="$_G['setting']['bbname']" class="nvhm" href="./">{$_G['setting']['bbname']}</a> <em>&rsquot;</em>
        <a href="{if $config['isrewrite']}brand.html{else}plugin.php?id=aljbd{/if}">{$config['aljbd_plugins']}</a>
</div>
</div>
<div class="ct2_a wp cl" id="ct">
<div class="appl">
<div class="tbn">
<h2 class="mt bbda">{$config['aljbd_plugins']}</h2>
{template aljbd:mnav}
</div>
</div>
<div style="border:none; margin:0" class="mn pbm">
<div class="tbmu cl">
<form  enctype="multipart/form-data" action="plugin.php?id=$pluginid&act=member" method="post" type="2" style="width:250px;float:left;">
<input type="hidden" name="formhash" value="{FORMHASH}"><input type="text" name="search_m" value="$_GET['search_m']" placeholder="&#35831;&#36755;&#20837;&#26631;&#39064;"><input type="submit" >
</form>{if $mygroup['brand'] && $mygroup['brand'] != $checksign}<b style="color:red;">{lang aljbd:index_27}{$mygroup[grouptitle]}{lang aljbd:index_28}{$mygroup['brand']} {lang aljbd:index_29}</b>{/if}
<a class="y pn pnc"  href="plugin.php?id=aljbd&act=attend" ><strong>{lang aljbd:s79}</strong></a>

 <style type="text/css">
	.ordertable td{
		border-bottom:none;
	}
	
 </style>
<table cellspacing="0" cellpadding="0" class="dt">
<tbody><tr>
<th>{lang aljbd:s80}</th><th>{lang aljbd:s82}</th><th>{lang aljbd:s83}</th><th>{lang aljbd:s84}</th><th>{lang aljbd:s85}</th>
</tr>
{loop $bdlist $bd}
{eval $sign=DB::result_first("select sign from ".DB::table('aljbd_attestation')." where sign=1 and bid=".$bd['id'])}
<tr class="ordertable"><td>{$bd['id']}</td><td><!--{eval echo cutstr($bd['name'],14,'');}-->{if $sign}<img title="{lang aljbd:attestation_9}" src="source/plugin/aljbd/images/vip.gif">{/if}</td><td>{$typelist[$bd['type']]['subject']}</td><td>{$rlist[$bd['region']]['name']}</td><td>{eval echo gmdate('Y-m-d',$bd['dateline']+8*3600);}</td></tr>
<tr class="ordertable"><td colspan="5" ><b>{lang aljbd:s86}&#65306;</b>
<a href="plugin.php?id=aljbd&act=edit&bid={$bd['id']}" >{lang aljbd:s279}</a>
{if file_exists('source/plugin/aljbd/com/mark.php') && !$settings['close_map']['value']}
<a href="plugin.php?id=aljbd&act=mark&bid={$bd['id']}" onclick="showWindow('edit',this.href)"><font color="red">{lang aljbd:s88}</font></a>
{/if}
{if file_exists('source/plugin/aljbd/com/gg.php')}
<a href="plugin.php?id=aljbd&act=gg&bid={$bd['id']}" onclick="showWindow('edit',this.href)">{lang aljbd:s89}</a>
{/if}
<a href="plugin.php?id=aljbd&act=adv&bid={$bd['id']}" onclick="showWindow('edit',this.href)">{lang aljbd:s90}</a>
<a href="plugin.php?id=aljbd&act=madv&bid={$bd['id']}" onclick="showWindow('edit',this.href)">$aljbdlang['template']['Set_mobile_advertising_plans']</a>
{if file_exists('source/plugin/aljbd/com/winfo.php')}
<a href="plugin.php?id=aljbd&act=winfolist&bid={$bd['id']}" onclick="showWindow('edit',this.href)">{lang aljbd:s91}</a>
{/if}
{if file_exists('source/plugin/aljbd/template/com/iwantclaim.htm')}
<a href="plugin.php?id=aljbd&act=iwantclaim&bid={$bd['id']}" onclick="showWindow('edit',this.href)"><font style="color:green">{lang aljbd:s245}</font></a>
{/if}
{if file_exists('source/plugin/aljbd/template/com/commentlist.htm')}
{template aljbd:com/commentlist}
{/if}
{if file_exists('source/plugin/aljbd/com/attestation.php')}
{if $sign}
<a href="plugin.php?id=aljbd&act=attestation&bid={$bd['id']}" ><font color="green">{lang aljbd:attestation_8}</font></a>
{else}
<a href="plugin.php?id=aljbd&act=attestation&bid={$bd['id']}" ><font color="red">{lang aljbd:attestation_1}</font></a>
{/if}
{/if}
{if $settings['is_brand_del']['value']==1}
<a href="#"  onclick="showDialog('{lang aljbd:s249}','confirm','',function(){location.href='plugin.php?id=aljbd&act=delete&bid={$bd['id']}'});return false;">{lang aljbd:s7}</a>
{/if}
<a href="{if $config['isrewrite']}brand_shop_{$bd['id']}.html{else}plugin.php?id=aljbd&act=view&bid={$bd['id']}{/if}" target="_blank">{lang aljbd:s87}</a>

</td>
</tr>
{if $_GET['act'] == 'member'}
<tr><td colspan="13" class="aljbd_td"><span class="y">
{if !$settings['close_goods']['value']}
<a href="plugin.php?id=aljbd&act=addgoods&bid={$bd['id']}" >&#28155;&#21152;&#21830;&#21697;</a>
{/if}
{if !$settings['close_notice']['value']}
<a href="plugin.php?id=aljbd&act=addnotice&bid={$bd['id']}" >&#28155;&#21152;&#27963;&#21160;</a>
{/if}
{if !$settings['close_consume']['value']}
<a href="plugin.php?id=aljbd&act=addconsume&bid={$bd['id']}" >&#28155;&#21152;&#20248;&#24800;&#21048;</a>
{/if}
<a href="plugin.php?id=aljbd&act=addpage&bid={$bd['id']}" >&#28155;&#21152;&#33756;&#21333;</a>
<a onclick="showWindow('addalbum',this.href)" href="plugin.php?id=aljbd&act=addalbum&bid={$bd['id']}" >&#28155;&#21152;&#30456;&#20876;</a>

</span></td></tr>
{/if}
{/loop}
<tr><td colspan="13">{$paging}</td></tr>

</tbody></table>
</div>
</div></div></div>

{template common/footer}